package hotairballoon.gui.internalframe;

import java.awt.Component;


import javax.swing.JInternalFrame;

public class InternalFrameContainer extends JInternalFrame{

	private static final long serialVersionUID = 1L;

	public InternalFrameContainer(String title, Component internalCOmponent) {
        super(title, 
              true, //resizable
              false, //closable
              true, //maximizable
              true);//iconifiable

        //...Create the GUI and put it in the window...

        //...Then set the window size or call pack...
        setSize(300,300);

//        //Set the window's location.
//        setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
        this.add(internalCOmponent);
    }
}
